<%@ page language="java" contentType="text/html; charset=GB18030"
    pageEncoding="GB18030" import="bean.SimpleBean"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>forward result page</title>
</head>
<body>
<%=request.getParameter("name") %>
<%=request.getParameter("age") %>
<%=request.getParameter("preParam") %>
<h3>[jsp:include] with [jsp:param] here</h3>
<jsp:include page="included.jsp" flush="false">
<jsp:param value="lalala" name="includeParam"/>
</jsp:include>

<h3>[jsp:useBean],[jsp:setProperty],[jsp:getProperty] here</h3>
<jsp:useBean id="simplebean" class="bean.SimpleBean" />
<jsp:setProperty property="param1" value="1" name="simplebean" />
<jsp:getProperty property="param1" name="simplebean"/>

<jsp:useBean id="bean2" class="bean.SimpleBean" />
<jsp:setProperty property="param1" value="222" name="bean2"/>
<jsp:getProperty property="param1" name="bean2"/>

<br/>
<%=request.getRemoteAddr() %><br/>
<%=request.getRemoteHost() %><br/>
<%=request.getRemotePort() %><br/>
<%=request.getRemoteUser() %><br/>
<%=request.getRequestURI() %><br/>
<%=request.getRequestURL() %><br/>
</body>
</html>